package cn.com.surker;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;


@EnableCaching
@SpringBootApplication(exclude={
		SecurityAutoConfiguration.class,
		SecurityFilterAutoConfiguration.class,
		DataSourceAutoConfiguration.class})
@MapperScan({"cn.com.surker.*.dao", "cn.com.surker.*.*.dao"})
@EnableDubbo
public class ErpApplication {

	public static void main(String[] args) {
			SpringApplication.run(ErpApplication.class, args);
	}

}
